<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="bookmark" href="/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="<%=basePath %>css/main.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath %>css/menu_wm.css" />
<script src="<%=basePath %>js/menu.js" type="text/javascript"></script>
<script src="<%=basePath %>js/jquery-2.0.3.min.js" type="text/javascript"></script>
<script type="text/javascript" src="<%=basePath %>js/datepicker/WdatePicker.js"></script>
<style type="text/css">
*{
font-family: '微软雅黑';font-size: 15px;
}
</style>
</head>
<body>
	 <div class="cont">
    <div id="header" class="clr">
        <ul class="topr fr">
            <li class="set"><a title="用户设置" id="setUrlPas" >set</a></li>
            <li class="useinfo">您好，<s:property value="%{#session.admin.adminName}"/><span><a href="<%=basePath%>adm/admin_adminLoginOut">退出</a></span></li>
        </ul>
        <!--  <h1><a class="logo oh" href="" >莫某某系统</a></h1>  -->
       <img alt="" src="<%=basePath %>image/logo.png">
    </div>
    <div id="nav" class="clr" style="margin-left: -30px;">
        <ul class="menu" id="menu">
            <li class="home"><a href="<%=basePath%>adm/cps_cpsList"><span>首页</span></a></li>
            <li><a href="<%=basePath%>adm/com_comList"><span>企业管理</span></a>
               <%--  <ul class="smenu_submenu">
                    <li><a href="<%=basePath%>adm/com_comList"><span>企业管理</span></a></li>
                </ul> --%></li>
            <li><a href="<%=basePath%>adm/user_userList"><span>系统用户管理</span></a></li>
            <li><a href="<%=basePath%>adm/menu_menuList"><span>菜品审核</span></a></li>
            <li><a href="<%=basePath%>adm/ads_adsList"><span>广告管理</span></a></li>
            <li><a href="<%=basePath%>adm/cps_cpsList"><span>查看收益</span></a>
                <ul class="smenu_submenu">
                    <li><a href="<%=basePath%>adm/cps_cpsList"><span>企业收益分析</span></a></li> 
                    <li><a href="<%=basePath%>adm/mps_mpsList""><span>菜品收益分析</span></a></li>  
                    <li><a href="<%=basePath%>adm/dps_dpsList""><span>每日收益分析</span></a></li>
                </ul></li>
            <li><a href="<%=basePath%>adm/mess_messList"><span>系统设置</span></a>
                <ul class="smenu_submenu"> 
                    <li><a href="<%=basePath%>adm/mess_messList"><span>消息管理</span></a></li>
                    <li><a href="<%=basePath%>adm/picstyle_picStyleList"><span>尺寸管理</span></a></li>
          <%--           <li><a href="<%=basePath%>adm/supType_supTypeList"><span>大类管理</span></a></li>
                    <li><a href="<%=basePath%>adm/subType_subTypeList"><span>小类管理</span></a></li> --%>
                    <%-- <li><a href="<%=basePath%>adm/attr_attrList"><span>属性管理</span></a></li> --%>
                    <li><a href="<%=basePath%>adm/comtype_comtypeList"><span>类型管理</span></a></li>
                    <li><a href="<%=basePath%>adm/notice_noticeList"><span>公告管理</span></a></li>
                    <li><a href="<%=basePath%>adm/warn_warnList"><span>警告库管理</span></a></li>
                    <li><a href="<%=basePath%>adm/comdis_comdisList"><span>活动管理</span></a></li>
                   <s:if test="#session.admin.type==1"><li><a href="<%=basePath%>adm/admin_adminList"><span>管理员管理</span></a></li></s:if>
                </ul></li>
        </ul>
        <script type="text/javascript">var menu=new smenu.dd("menu");menu.init("menu");</script>
        <script type="text/javascript">
           $(function(){
        	    var guanli=$("#guanli").html();
        	    if(guanli=='administrator'){
        	    	$("#addadm").show();
        	    }else{
        	    	$("#addadm").hide();
        	    }
           });
        </script>
    </div>
		</div>
</body>
</html>